Kiri's Improved Spell Engine
(Invocation/Evocation)

Range:  0
Components:  V, S, M
Duration:  Permanent
Casting Time:  1 round
Area of Effect:  Up to 1 foot per level radius
Saving Throw:  None

When cast, this spell brings into being a large, invisible, insubstantial wheel of force centred on the caster. After the spell is completed, it comes into effect whenever the caster of the spell or anyone named in the casting is attacked by any hostile spell (hostile being defined as any spell that will hit or affect any target who is unaware of the spell or any spell that the target actively resists regardless of whether he normally gets a saving throw), while within the area of effect.
Whenever a "hostile" spell crosses the boundary of the wheel, it is absorbed and the full spell comes into effect: A brilliant, shimmering, multi-hued wheel of energy materializes and begins to rotate. All "hostile" spells cast onto or across the area of effect are absorbed into the wheel which causes it to become brighter and spin faster.
Note: dispel magic is absorbed by the spell engine and magic resistance does not negate this effect. A wish will destroy one spell engine per casting.
Creatures of less than 4 HD or levels looking at the engine must save versus spell once per round or be blinded for 1d6 turns. The engine persists for one turn per spell level absorbed. Resting, meditation and spell memorisation occur twice as fast within the area of effect while an active engine persists.
When the wheel's energy is exhausted, it will lay dormant until activated again.
The material component for this spell is a hollow glass wheel full of mercury and gold, silver, or platinum dust worth 300 gp.

